﻿using System;
using System.Web.Mvc;

namespace KM.Controllers
{
    public class BaseController : Controller
    {
        public bool checkAdmin()
        {
            if (Session["UserId"] == null)
            {
                return false;
            }
            return true;
        }

    }
}
